package com.project.dao;

import com.project.entity.Feedback;

import java.util.List;

/**
 * @Author: TateBrown
 * @date: 2018/5/26 12:43
 * @param:
 * @return:
 */
public interface FeedbackMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Feedback record);

    int insertSelective(Feedback record);

    Feedback selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Feedback record);

    int updateByPrimaryKey(Feedback record);

    /**
     * author: WheelChen
     * date: 2017/10/22
     * function: 查找所有
     *
     * @return
     */
    List<Feedback> selectAll();

    /**
     * author: WheelChen
     * date: 2017/10/24
     * function: 根据所有条件分页查找
     *
     * @param feedback
     * @return
     */
    List<Feedback> selectByAllCondition(Feedback feedback);
}
